import 'package:fish_redux/fish_redux.dart';

//TODO replace with your own action
enum VillageSimpleAction {
  action,
  initUI,
  refreshUI,
  openHouseChoose,
  chooseHouseChanged,
}

class VillageSimpleActionCreator {
  static Action onAction() {
    return const Action(VillageSimpleAction.action);
  }

  static Action initUI() {
    return const Action(VillageSimpleAction.initUI, payload: 0);
  }

  static Action refreshUI() {
    return const Action(VillageSimpleAction.refreshUI);
  }

  static Action openHouseChoose() {
    return const Action(VillageSimpleAction.openHouseChoose);
  }

  static Action chooseHouseChanged() {
    return const Action(VillageSimpleAction.chooseHouseChanged);
  }
}
